<link rel="stylesheet" href="../core/resource/weui/weui.css?v=21">
<style type="text/css">

.storelogo img{width:3.2rem;height:3.2rem}
.merchgroup .store-star {padding:0.1rem 0 0.2rem 0;font-size:0.55rem;line-height:1rem}
.merchgroup .store-star img{height:0.66rem}
.star-on,.star-off{position:absolute;top:1rem;left:0;overflow:hidden}
.star-rate {margin-left:3.6rem}
.store-distance{float:right;color:#999}
.store-moneylimit{font-size:0.55rem}
</style>
<div class="fui-page order-create-page fui-page-current" ng-if="pagedata.op == 'main'">
	<div class="fui-content">
		
		<div class="weui_cells">
		<div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">标题：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.info.title}}</label></div>					
                </div>
        </div>
		<div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">类型：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.info.type}}</label></div>					
                </div>
        </div>
		<div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">出发地：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.info.start}}</label></div>					
                </div>
        </div>
		<div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">目的地：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.info.end}}</label></div>					
                </div>
        </div>
		<div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">出发时间：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.info.time}}</label></div>					
                </div>
        </div>
		<div class="weui_cell" ng-show="pagedata.type==1">
                <div class="weui_cell_hd"><label class="weui_label">乘车人数：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.info.people}}</label></div>					
                </div>
        </div>
		<div class="weui_cell" ng-show="pagedata.type==1">
                <div class="weui_cell_hd"><label class="weui_label">是否拼车：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.info.self}}</label></div>					
                </div>
        </div>
		<div class="weui_cell" ng-show="pagedata.type==2">
                <div class="weui_cell_hd"><label class="weui_label">剩余座位：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.info.num}}</label></div>					
                </div>
        </div>
		<div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">联系人：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.info.name}}</label></div>					
                </div>
        </div>
		<div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">联系电话：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.info.mobile}}</label></div>					
                </div>
        </div>
		<div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">价格：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.info.price}}</label></div>					
                </div>
        </div>
		<div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">备注：</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <div class="weui_cell_hd"><label class="weui_label">{{pagedata.info.remark}}</label></div>					
                </div>
        </div>
		</div>
		

		<div class="weui_btn_area">
		<a class="weui_btn weui_btn_primary" href="javascript:" id="showTooltips" ng-click="access_json('do')">预约</a>
		
		 <a ng-show="pagedata.type==1" class="weui_btn weui_btn_primary" href="javascript:" id="showTooltips" ng-click="access_json('/pinche/')">返回列表</a>
		 <a ng-show="pagedata.type==2" class="weui_btn weui_btn_primary" href="javascript:" id="showTooltips" ng-click="access_json('/daike/')">返回列表</a>
		</div>	
		</div>
</div>
<div class="fui-page order-create-page fui-page-current" ng-if="pagedata.op == 'do'">
<div class="weui_cells weui_cells_form">
										
			<div class="weui_cell weui_vcode">
                <div class="weui_cell_hd"><label class="weui_label">联系人</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <input class="weui_input" type="text" ng-model="pagedata.info.name" placeholder="请输入联系人">
                </div>
            </div> 
            <div class="weui_cell weui_vcode">
                <div class="weui_cell_hd"><label class="weui_label">联系电话</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <input class="weui_input" type="text" ng-model="pagedata.info.mobile" placeholder="请输入联系电话">
                </div>
            </div>
			<div class="weui_cell weui_vcode">
                <div class="weui_cell_hd"><label class="weui_label">备注</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <input class="weui_input" type="text" ng-model="pagedata.info.remark" placeholder="请输入备注">
                </div>
            </div>                    			
</div>
<div class="weui_btn_area">
		 <a class="weui_btn weui_btn_primary" href="javascript:" id="showTooltips" ng-click="post(pagedata.info,'yuding')">提交</a>
</div>

</div>
<script>
	require(['bootstrap', 'hammer'], function($, Hammer){
		$('#carousel-container').carousel();
		var mc = new Hammer($('#carousel-container').get(0));
		mc.on("panleft", function(ev) {
			$('#carousel-container').carousel('next');
		});
		mc.on("panright", function(ev) {
			$('#carousel-container').carousel('prev');
		});
	});
</script>